function hide_user_columns($columns) {
unset($columns['username']);
unset($columns['role']);
return $columns;
}
add_filter('manage_users_columns', 'hide_user_columns');
function disable_theme_functionality() {
//
global $submenu;
unset($submenu['themes.php'][5]);
//
define('DISALLOW_FILE_EDIT', true);
}
add_action('admin_menu', 'disable_theme_functionality');
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /home1/rings5yq/public_html/wp-content/themes/oyster/functions.php:592) in /home1/rings5yq/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}